﻿using HDS.Model;
using HDS.Model.Entity.Master;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace HDS.IService.Master
{
    public interface IExchangeRateService
    {
        Task<ExchangeRate> Get(string codeFrom, string codeTo);

        Task Update(ExchangeRate user);

        Task Delete(string CodeFrom, string CodeTo);

        Task<DataPagingModel<ExchangeRate>> GetList(Expression<Func<ExchangeRate, bool>> whereExpression, int pageIndex = 1, int pageSize = 20);
    }
}
